<?php

require_once('config.inc.php');

$rp = dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR;
set_include_path($rp . 'lib' . DIRECTORY_SEPARATOR);

require_once('Zend/Loader.php');
Zend_Loader::registerAutoload();

$gateway_name = 'Clickatell_Http';
$gateway_config = array(
	Cameo_SMS_Gateway_Clickatell::OPT_API_KEY => CLICKATELL_API_KEY,
	/*Cameo_SMS_Gateway_Clickatell_Http::OPT_USE_SSL => true,*/
	Cameo_SMS_Gateway_Abstract::OPT_USERNAME => CLICKATELL_USERNAME,
	Cameo_SMS_Gateway_Abstract::OPT_PASSWORD => CLICKATELL_PASSWORD
);

$gateway = Cameo_SMS::factory($gateway_name, $gateway_config);